<div class="pageContent">
    <form method="post" id="updateDefectNodeFrom" action="${rc.getContextPath()}/manage/defectNode/modifyDefectNode" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)">
        <input type="hidden" name="navTabId" value="${navTabId!''}" />
        <div class="pageFormContent nowrap" layoutH="58">
            <fieldset>
                <dl>
                    <dt><@label key="code.C,colon">编码：</@label></dt>
                    <dd>
                        <input name="nodeCode" readonly="readonly" value="${defectNode.nodeCode!''}" size="32" type="text" maxlength="20" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="description.C,colon">描述：</@label></dt>
                    <dd>
                        <input name="nodeText" readonly="readonly" value="<#if (defectNode.nodeText)??>${defectNode.nodeText!''}</#if>" size="32" maxlength="60" type="text" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="parentNode.C,colon">父节点：</@label></dt>
                    <dd>
                        <input readonly="readonly" name="parentNodeCode" value="<#if (parentDefectNode)??>${parentDefectNode.nodeCode!''}</#if>" size="32" type="text"/>
                        <input type="text" readonly  value="<#if (parentDefectNode)??>${parentDefectNode.nodeText!''}</#if>" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="type.C,colon">类型：</@label></dt>
                    <dd>
                        <select name="nodeTypeeCode"  disabled="disabled">                
                            <option value=""><@label key='selected_first.C'>请选择</@label></option>
                            <#if defectNodeTypes??>
                                <#list defectNodeTypes as defectNodeType>
                                    <option value="${defectNodeType.eCode!''}" <#if defectNode.nodeTypeeCode==defectNodeType.eCode>selected</#if> >${defectNodeType.eCodeText!''}</option>
                                </#list>
                            </#if>
                        </select>
                    </dd>
                </dl>
                <#if defectNode?? && defectNode.nodeTypeeCode == "ITEM">
                <dl class='notnormal'>
                    <dt><@label key="defectDefine.C,colon">缺陷：</@label></dt>
                    <dd>
                        <input id="defectLookup.defectText" name="defectText" type="text"  readonly="readonly" value="${defectNode.defectText!''}"/>
                    </dd>
                </dl>
                </#if>
                <!-- <dl>
                    <dt><@label key="lockFlag.C,colon">锁定标记：</@label></dt>
                    <dd>
                        <label><input style="margin-right: 2px;" type="checkbox" name="lockFlag" disabled="disabled" value="1"<#if (defectNode.lockFlag)?? && (defectNode.lockFlag == 1)> checked="true"</#if>><@label key="lock.C">锁定</@label></label>
                    </dd>
                </dl> -->
            </fieldset>
        </div>
        <#if defectNode??> <#assign createInfo = defectNode/> 
                        <#include "/common/createInfo.html"> </#if>
    </form>
</div>
